export const ChangeState = "ChangeState";
export const SetCurrentTodo = "SetCurrentTodo";
export interface IState {
  todoList: Todo[];
  currentTodo: Todo | null;
}
export enum TODOState {
  NONE,
  WAIT,
  DOING,
  COMPLETE,
  CANCLE,
}

export interface Todo {
  name: string;
  content: string;
  state: TODOState;
  createTime: number;
  completeTime: number;
}
